package com.gdteam.kernel.persistence;

import java.util.Collection;

import com.gdteam.kernel.domain.Domain;

/**
 * Entity Provider feeds PersistencyUnitManager with
 * Persisted Classes : 
 * <ul>
 *  <li>with no particular package belonging</li>
 *  <li>spread accross several jars within different projects</li>
 *  <li>...</li>
 * </ul>
 *
 */
public interface EntityProvider {
    
    String FQN = "com.gdteam.kernel.entityprovider";
    
    /**
     * 
     * @return
     */
    Collection<Class<? extends Domain>> getEntities(); 

}
